package com.klf.po;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Userlog entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Userlog implements java.io.Serializable {

	// Fields

	private Long id;
	private Users users;
	private String logtype;
	private String logtitle;
	private String logcontent;
	private Date adddate;
	private Date lastupdatedate;
	private Long browsecount;
	private Long collectioncount;
	private Long restorecount;
	private String keyword;
	private String ispublish;
	private Date publishdate;
	private String linkurl;
	private Set logrestores = new HashSet(0);

	// Constructors

	/** default constructor */
	public Userlog() {
	}

	/** minimal constructor */
	public Userlog(Users users) {
		this.users = users;
	}

	/** full constructor */
	public Userlog(Users users, String logtype, String logtitle,
			String logcontent, Date adddate, Date lastupdatedate,
			Long browsecount, Long collectioncount, Long restorecount,
			String keyword, String ispublish, Date publishdate, String linkurl,
			Set logrestores) {
		this.users = users;
		this.logtype = logtype;
		this.logtitle = logtitle;
		this.logcontent = logcontent;
		this.adddate = adddate;
		this.lastupdatedate = lastupdatedate;
		this.browsecount = browsecount;
		this.collectioncount = collectioncount;
		this.restorecount = restorecount;
		this.keyword = keyword;
		this.ispublish = ispublish;
		this.publishdate = publishdate;
		this.linkurl = linkurl;
		this.logrestores = logrestores;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public String getLogtype() {
		return this.logtype;
	}

	public void setLogtype(String logtype) {
		this.logtype = logtype;
	}

	public String getLogtitle() {
		return this.logtitle;
	}

	public void setLogtitle(String logtitle) {
		this.logtitle = logtitle;
	}

	public String getLogcontent() {
		return this.logcontent;
	}

	public void setLogcontent(String logcontent) {
		this.logcontent = logcontent;
	}

	public Date getAdddate() {
		return this.adddate;
	}

	public void setAdddate(Date adddate) {
		this.adddate = adddate;
	}

	public Date getLastupdatedate() {
		return this.lastupdatedate;
	}

	public void setLastupdatedate(Date lastupdatedate) {
		this.lastupdatedate = lastupdatedate;
	}

	public Long getBrowsecount() {
		return this.browsecount;
	}

	public void setBrowsecount(Long browsecount) {
		this.browsecount = browsecount;
	}

	public Long getCollectioncount() {
		return this.collectioncount;
	}

	public void setCollectioncount(Long collectioncount) {
		this.collectioncount = collectioncount;
	}

	public Long getRestorecount() {
		return this.restorecount;
	}

	public void setRestorecount(Long restorecount) {
		this.restorecount = restorecount;
	}

	public String getKeyword() {
		return this.keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getIspublish() {
		return this.ispublish;
	}

	public void setIspublish(String ispublish) {
		this.ispublish = ispublish;
	}

	public Date getPublishdate() {
		return this.publishdate;
	}

	public void setPublishdate(Date publishdate) {
		this.publishdate = publishdate;
	}

	public String getLinkurl() {
		return this.linkurl;
	}

	public void setLinkurl(String linkurl) {
		this.linkurl = linkurl;
	}

	public Set getLogrestores() {
		return this.logrestores;
	}

	public void setLogrestores(Set logrestores) {
		this.logrestores = logrestores;
	}

}